<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/pages/common/taglib.jsp"%>
<%@page import="com.gfa4j.resource.ResourceManagerServer"%>
<%@page import="com.wef.common.util.CommonMessageDomain"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
		<%@include file="/styles/css_lib.jsp"%>
		<%@include file="/scripts/widgets/jquery-ui/css_lib.jsp"%>
		<%@include file="/scripts/widgets/jqgrid/css_lib.jsp"%>
		<link rel="stylesheet" type="text/css" href="${ctx}/pages/demo/demo.css" />		
		
		<%@include file="/pages/common/js_global.jsp"%>
		<%@include file="/scripts/sdk/js_lib.jsp"%>
		<%@include file="/scripts/config/js_lib.jsp" %>
		<%@include file="/scripts/utils/js_lib.jsp"%>
		<%@include file="/scripts/i18n/js_lib.jsp"%>
		<%@include file="/scripts/format/js_lib.jsp"%>
		<%@include file="/scripts/validate/js_lib.jsp"%>
		<%@include file="/scripts/widgets/jquery-ui/js_lib.jsp"%>
		<%@include file="/scripts/widgets/jqgrid/js_lib.jsp"%>
		<%@include file="/scripts/widgets/page-custom/js_lib.jsp"%>
		<%@include file="/scripts/widgets/datePicker/js_lib.jsp"%>
		<script type="text/javascript" src="${ctx}/pages/demo/demo.js"></script>
		<script type="text/javascript" src="${ctx}/pages/demo/components/jq_ui.js"></script>
</head>
<body class="body">
<div id="Content_Show">
	<div class="Desc">
		功能:显示代码和提示信息,如下: (<a href="#" id="aDiv1">错误提示源码</a>)&nbsp;(<a href="#" id="aDiv2">警告提示源码</a>)&nbsp;(<a href="#" id="aDiv3">信息提示源码</a>)&nbsp;(<a href="#" id="aDiv4">即时提示源码</a>)
	</div>
	<div id="div1" style="display: none;">
		var code = $('#editCode').val();</br>
		var message = $('#editMessage').val();</br>
		$.ui.dialog4Error(code,message);					
	</div>	
	<div id="div2" style="display: none;">
		var code = $('#editCode').val();</br>
		var message = $('#editMessage').val();</br>
		$.ui.dialog4Warning(code,message);		
	</div>
	<div id="div3" style="display: none;">
		var code = $('#editCode').val();</br>
		var message = $('#editMessage').val();</br>
		$.ui.dialog4Info(code,message);							
	</div>
	<div id="div4" style="display: none;">
		var message = $('#editMessage').val();</br>
		$.ui.dialog4Prompt(message);						
	</div>
	<div class="ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content-active">
		<ul id="editMsg" allowChange="true" class="edit_box">	
			<li>
				<k:label text="demo.JqUi.code" allowBlank="false"/>
				<k:text property="code" styleId="editCode" styleClass="text"/>
			</li>
			<li>
				<k:label text="demo.JqUi.message" allowBlank="false"/>
				<k:text property="message" styleId="editMessage" styleClass="text"/>
			</li>
	</div>
	<div class="ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content-active">
		<ul class="button_box">
			<li>
				<k:button styleId="newBtnError" text="demo.JqUi.getErrorMessage" styleClass="button ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only"/>
			</li>
			<li>
				<k:button styleId="newBtnWarning" text="demo.JqUi.getWarningMessage" styleClass="button ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only"/>
			</li>
			<li>
				<k:button styleId="newBtnInfo" text="demo.JqUi.getInfoMessage" styleClass="button ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only"/>
			</li>
			<li>
				<k:button styleId="newBtnPrompt" text="demo.JqUi.getPromptMessage" styleClass="button ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only"/>
			</li>
		</ul>
	</div>
</div>

</body>
</html>